package mysql

import "gorm.io/gorm"

type Comment struct {
	gorm.Model
	Content   string `gorm:"type:varchar(100);not null;comment:评论内容"`
	UserId    int    `gorm:"type:int(11);not null;comment:评论用户id"`
	ProblemId int    `gorm:"type:int(11);not null;comment:问题id"`
	User      User
}
